import request from '@/utils/request'

// 查询acc
export function accList() {
  return request({
    url: '/generator/acc/list',
    method: 'get',
  })
}

// 查询flash
export function flashList() {
  return request({
    url: '/generator/flash/list',
    method: 'get',
  })
}

// 查询memory
export function memoryList() {
  return request({
    url: '/generator/memory/list',
    method: 'get',
  })
}

// 查询cpu
export function cpuList() {
  return request({
    url: '/generator/cpu/list',
    method: 'get',
  })
}

// 架构保存
export function saveFramework(data) {
  return request({
    url: '/generator/architect/save1',
    method: 'post',
    data: data,
  })
}
